Skip to main content

IRedisSortedSetAsync<T>

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisSortedSetAsync<T> : IHasStringId, IHasId<string>

Methods

CountAsync(CancellationToken)

View Source
Declaration
ValueTask<int> CountAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int32>

Parameters
TypeName
System.Threading.CancellationTokentoken

AddAsync(T, Double, CancellationToken)

View Source
Declaration
ValueTask AddAsync(T item, double score, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>item
System.Doublescore
System.Threading.CancellationTokentoken

PopItemWithHighestScoreAsync(CancellationToken)

View Source
Declaration
ValueTask<T> PopItemWithHighestScoreAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Threading.CancellationTokentoken

PopItemWithLowestScoreAsync(CancellationToken)

View Source
Declaration
ValueTask<T> PopItemWithLowestScoreAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<<T>>

Parameters
TypeName
System.Threading.CancellationTokentoken

IncrementItemAsync(T, Double, CancellationToken)

View Source
Declaration
ValueTask<double> IncrementItemAsync(T item, double incrementBy, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Double>

Parameters
TypeName
<T>item
System.DoubleincrementBy
System.Threading.CancellationTokentoken

IndexOfAsync(T, CancellationToken)

View Source
Declaration
ValueTask<int> IndexOfAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int32>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

IndexOfDescendingAsync(T, CancellationToken)

View Source
Declaration
ValueTask<long> IndexOfDescendingAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

GetAllAsync(CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetAllAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetAllDescendingAsync(CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetAllDescendingAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetRangeAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetRangeAsync(int fromRank, int toRank, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Int32fromRank
System.Int32toRank
System.Threading.CancellationTokentoken

GetRangeByLowestScoreAsync(Double, Double, CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetRangeByLowestScoreAsync(double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

GetRangeByLowestScoreAsync(Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetRangeByLowestScoreAsync(double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

GetRangeByHighestScoreAsync(Double, Double, CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetRangeByHighestScoreAsync(double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

GetRangeByHighestScoreAsync(Double, Double, Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
ValueTask<List<T>> GetRangeByHighestScoreAsync(double fromScore, double toScore, int? skip, int? take, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken

RemoveRangeAsync(Int32, Int32, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveRangeAsync(int minRank, int maxRank, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.Int32minRank
System.Int32maxRank
System.Threading.CancellationTokentoken

RemoveRangeByScoreAsync(Double, Double, CancellationToken)

View Source
Declaration
ValueTask<long> RemoveRangeByScoreAsync(double fromScore, double toScore, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
System.DoublefromScore
System.DoubletoScore
System.Threading.CancellationTokentoken

GetItemScoreAsync(T, CancellationToken)

View Source
Declaration
ValueTask<double> GetItemScoreAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Double>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

PopulateWithIntersectOfAsync(IRedisSortedSetAsync<T>[], CancellationToken)

View Source
Declaration
ValueTask<long> PopulateWithIntersectOfAsync(IRedisSortedSetAsync<T>[] setIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSetAsync`1[]setIds
System.Threading.CancellationTokentoken

PopulateWithIntersectOfAsync(IRedisSortedSetAsync<T>[])

View Source
Declaration
ValueTask<long> PopulateWithIntersectOfAsync(params IRedisSortedSetAsync<T>[] setIds)
Returns

ValueTask<System.Int64>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSetAsync`1[]setIds

PopulateWithIntersectOfAsync(IRedisSortedSetAsync<T>[], String[], CancellationToken)

View Source
Declaration
ValueTask<long> PopulateWithIntersectOfAsync(IRedisSortedSetAsync<T>[] setIds, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSetAsync`1[]setIds
System.String[]args
System.Threading.CancellationTokentoken

PopulateWithUnionOfAsync(IRedisSortedSetAsync<T>[], CancellationToken)

View Source
Declaration
ValueTask<long> PopulateWithUnionOfAsync(IRedisSortedSetAsync<T>[] setIds, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSetAsync`1[]setIds
System.Threading.CancellationTokentoken

PopulateWithUnionOfAsync(IRedisSortedSetAsync<T>[])

View Source
Declaration
ValueTask<long> PopulateWithUnionOfAsync(params IRedisSortedSetAsync<T>[] setIds)
Returns

ValueTask<System.Int64>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSetAsync`1[]setIds

PopulateWithUnionOfAsync(IRedisSortedSetAsync<T>[], String[], CancellationToken)

View Source
Declaration
ValueTask<long> PopulateWithUnionOfAsync(IRedisSortedSetAsync<T>[] setIds, string[] args, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Int64>

Parameters
TypeName
ServiceStack.Redis.Generic.IRedisSortedSetAsync`1[]setIds
System.String[]args
System.Threading.CancellationTokentoken

ClearAsync(CancellationToken)

View Source
Declaration
ValueTask ClearAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken

ContainsAsync(T, CancellationToken)

View Source
Declaration
ValueTask<bool> ContainsAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

AddAsync(T, CancellationToken)

View Source
Declaration
ValueTask AddAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken

RemoveAsync(T, CancellationToken)

View Source
Declaration
ValueTask<bool> RemoveAsync(T item, CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
<T>item
System.Threading.CancellationTokentoken